package edu.jmu.instance.factory;

public class MyBean2Factory {
	public static Bean2 createBean() {
		System.out.println("正通过静态工厂方式实例化");
		return new Bean2();
	}
}
